﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="gvProduct.ascx.cs" Inherits="TrangSucShop.usercontrol.gvProduct" %>
<asp:GridView ID="gvProd" runat="server" AllowSorting="True">
    <Columns>
        <asp:BoundField DataField="ID" HeaderText="ID" />
        <asp:BoundField DataField="MaSanPham" HeaderText="Ma" />
        <asp:BoundField DataField="TenLoaiSanPham" HeaderText="Loai" />
        <asp:CheckBoxField HeaderText="isnew" />
        <asp:ImageField  HeaderText="Hinh"  DataImageUrlField="Hinh" DataImageUrlFormatString="../images/{0}" >
            <ControlStyle Height="40px" Width="40px" />
            <ItemStyle Height="20px" Width="20px" />
        </asp:ImageField>
    </Columns>
</asp:GridView>
